<table class="table table-hover">
    <thead>
    <tr>
        <th>地址id</th>
        <th>姓名</th>
        <th>手机号</th>
        <th>详细地址</th>
        <th>邮政编码</th>
        <th>默认地址</th>
    </tr>
    </thead>

    <tbody>
    @foreach ($data as $val)
        <tr>
            <td>
                {{ $val['id'] }}
            </td>
            <td>
                {{ $val['linkman'] }}
            </td>
            <td>
                {{ $val['mobile'] }}
            </td>
            <td>
                {{ $val['address'] }}
            </td>
            <td>
                邮编
            </td>
            <td>
                @if($val['is_default'] == '1') 是
                @endif
            </td>
        </tr>
    @endforeach
    </tbody>
</table>